AA: ramips: fix ASUS WL-330N3G MAC address
authorGabor Juhos <[email protected]>
Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)
committerGabor Juhos <[email protected]>
Mon, 24 Dec 2012 09:13:58 +0000 (09:13 +0000)
commit83f38f382a33fdb3b65d94cc3ae9fa997076ece7
tree37aae6682913a1f848f4ca93368160fb047323ef
parent8f40d1bb1988102546bc986e00499a542d429795
AA: ramips: fix ASUS WL-330N3G MAC address

Backport of r34877.

The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <[email protected]>
Signed-off-by: Gabor Juhos <[email protected]>
SVN-Revision: 34879
target/linux/ramips/base-files/lib/preinit/06_set_iface_mac